import request from '@/utils/request'

export function getInfo(data) {
  return request({
    url: '/getInfo',
    params: data,
    method: 'get',
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
export function getGrace(data) {
  return request({
    url: '/getGrace',
    params: data,
    method: 'get',
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
export function saveGrace(data) {
  return request({
    url: '/saveGrace',
    method: 'post',
    data: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
